import request from '@/common/request.js';

const appId = 'wxd854738f4b729b8f';
export function LoginPassword(data) {
	return request.globalRequest('', 'get', data);
}

export function LoginPhone(data) {
	return request.globalRequest('', 'get', data);
}
export function Login(data) {
	return request.globalRequest('/wx/user/' + appId + '/login', 'get', data);
}
export function getPhone(data) {
	return request.globalRequest(
		'/wx/user/' + appId + '/phonePost',
		'post',
		data,
		1,
	);
}
export function getNotice(data) {
	return request.globalRequest('/weixin/WeChat/notice', 'post', data);
}

export function getShopList(data) {
	return request.globalRequest('/wx/adminIndex/searchShopList', 'post', data);
}
export function getMember(data) {
	return request.globalRequest('/weixin/memberCore', 'get', data);
}
